package com.zh.goods.dao;


import com.zh.goods.domain.LabelDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2019-03-05 17:27:56
 */
@Mapper
public interface LabelDao {

	LabelDO get(String id);
	
	List<LabelDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(LabelDO label);
	
	int update(LabelDO label);
	
	int remove(String id);
	
	int batchRemove(String[] ids);

	List<LabelDO> getAll(LabelDO label);
}
